package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.GoodsPublicStatus;


/**
 * 上架商品详情
 * @author 田沛凌
 * @time 2017年6月20日 上午9:46:27
 */
public class GoodsPublishDetail extends Pagination {
    private static final long serialVersionUID = -7520993926189874275L;

    /** 商品编号*/
    private Long goodsId;
    /**上架ID*/
    private Long publishId;

    /**商品名称*/
    private String goodsName;

    /**商品类型*/
    private Long goodsType;

    /**商品条码*/
    private String goodsBarCode;

    /**零售价*/
    private Integer goodsMarketPrice;

    /**供应价*/
    private Integer goodsSellPrice;

    /**结算价*/
    private Integer goodsSettlementPrice;

    /**商品规格*/
    private String goodsSpec;

    /**单位*/
    private String goodsUnit;

    /**商品图片*/
    private String goodsImg;

    /**商品状态*/
    private Integer goodsStatus;

    /**用户ID*/
    private Long userId;

    /**供应商账户*/
    private Long orgId;

    /**监所账户*/
    private Long prisonsId;

    /**供应商名称*/
    private String orgName;

    /** 商品类型名称 */
    private String goodsTypeName;

    /** 监所名称 */
    private String prisonsName;

    /**箱规*/
    private String boxSpec;

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }
    public String getGoodsStatusStr(){
        return GoodsPublicStatus.getDesc(goodsStatus);
    }
    public Long getPublishId() {
        return publishId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public void setPublishId(Long publishId) {
        this.publishId = publishId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Long getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Long goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsBarCode() {
        return goodsBarCode;
    }

    public void setGoodsBarCode(String goodsBarCode) {
        this.goodsBarCode = goodsBarCode == null ? null : goodsBarCode.trim();
    }

    public Integer getGoodsMarketPrice() {
        return goodsMarketPrice;
    }

    public void setGoodsMarketPrice(Integer goodsMarketPrice) {
        this.goodsMarketPrice = goodsMarketPrice;
    }

    public Integer getGoodsSellPrice() {
        return goodsSellPrice;
    }

    public void setGoodsSellPrice(Integer goodsSellPrice) {
        this.goodsSellPrice = goodsSellPrice;
    }

    public Integer getGoodsSettlementPrice() {
        return goodsSettlementPrice;
    }

    public void setGoodsSettlementPrice(Integer goodsSettlementPrice) {
        this.goodsSettlementPrice = goodsSettlementPrice;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec == null ? null : goodsSpec.trim();
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit == null ? null : goodsUnit.trim();
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg == null ? null : goodsImg.trim();
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public Long getPrisonsId() {
        return prisonsId;
    }

    public void setPrisonsId(Long prisonsId) {
        this.prisonsId = prisonsId;
    }

    public String getPrisonsName() {
        return prisonsName;
    }

    public void setPrisonsName(String prisonsName) {
        this.prisonsName = prisonsName;
    }

    public String getBoxSpec() {
        return boxSpec;
    }

    public void setBoxSpec(String boxSpec) {
        this.boxSpec = boxSpec;
    }
}